-- GENERATED SPELL FOR [Spirestone Enforcer] --


function spell0_9199(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(14516,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9199', 572, 1)
end

function Sorts_9199(pUnit, Event)
local choix_sorts_9199 = math.random(0, 0)
if choix_sorts_9199 == 0 then
pUnit:RegisterEvent('spell0_9199', 1, 1)
end
end

function mob9199_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9199', math.random(1500, 3000), 1)
end

function mob9199_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9199_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9199_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9199, 1, 'mob9199_Action')
RegisterUnitEvent(9199, 2, 'mob9199_Leave')
RegisterUnitEvent(9199, 3, 'mob9199_Kill')
RegisterUnitEvent(9199, 4, 'mob9199_Die')
